.homePage {
  padding: 0 0 60px 0;
}

.searchContainer {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 8px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.loadingContainer, .errorContainer {
  text-align: center;
  padding: 40px 0;
}

.errorContainer {
  color: #ff3141;
}

.travelGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
}

.travelCard {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
}

.travelCard:active {
  transform: scale(0.98);
}

.imageContainer {
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* 4:3 比例 */
  position: relative;
  overflow: hidden;
}

.travelImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imageFallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  color: #999;
  font-size: 12px;
}

.travelInfo {
  padding: 8px 10px;
}

.travelTitle {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.authorInfo {
  display: flex;
  align-items: center;
}

.authorAvatar {
  width: 24px;
  height: 24px;
  margin-right: 6px;
}

.authorName {
  font-size: 12px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}